package com.zhongjian.technologycal.mall.bean;

import java.util.List;

/**
 * Created by wei on 2018/2/4.
 */

public class TestAdapter {

    /**
     * id : 362
     * productname : 功能护理袜
     * price : 99
     * oldprice : 99
     * elecnum : 49
     * tag : 2
     * productphotos : [{"photo":"/upload/pics/30d1b13e-ebca-4ef6-a8bf-f90dcfe28a00.jpg"}]
     */

    private int id;
    private String productname;
    private double price;
    private double oldprice;
    private double elecnum;
    private int tag;
    private List<ProductphotosBean> productphotos;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getProductname() {
        return productname;
    }

    public void setProductname(String productname) {
        this.productname = productname;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public double getOldprice() {
        return oldprice;
    }

    public void setOldprice(double oldprice) {
        this.oldprice = oldprice;
    }

    public double getElecnum() {
        return elecnum;
    }

    public void setElecnum(double elecnum) {
        this.elecnum = elecnum;
    }

    public int getTag() {
        return tag;
    }

    public void setTag(int tag) {
        this.tag = tag;
    }

    public List<ProductphotosBean> getProductphotos() {
        return productphotos;
    }

    public void setProductphotos(List<ProductphotosBean> productphotos) {
        this.productphotos = productphotos;
    }

    public static class ProductphotosBean {
        /**
         * photo : /upload/pics/30d1b13e-ebca-4ef6-a8bf-f90dcfe28a00.jpg
         */

        private String photo;

        public String getPhoto() {
            return photo;
        }

        public void setPhoto(String photo) {
            this.photo = photo;
        }
    }
}
